#include "MeshBuffer.h"

namespace ISNW
{
namespace scene
{

	core::array<u16>& MeshBuffer::getIndices16()
	{
		u32 count = indices_buffer.size();
		indices16_buffer.set_used(count);

		for(u32 i = 0; i < count; ++i)
		{
			indices16_buffer[i] = (u16)(indices_buffer[i]);
		}

		return indices16_buffer;
	}
} // end namespace scene
} // end namespace ISNW